package com.ashapo.pattern.pattern024visitor;

//第3步
//定义一个接口来代表访问者

public interface ComputerPartVisitor {
    public void visit(Computer computer);
    public void visit(Mouse mouse);
    public void visit(Keyboard keyboard);
    public void visit(Monitor monitor);
}
